﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/TemplateAdmin.Master" AutoEventWireup="true" CodeBehind="DanhSachHangDienThoai.aspx.cs" Inherits="DoAn.admin.WebForm1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<div class="message message-success" runat="server" id="message_success" visible="false">
	<h6>Thành công</h6>
	<p>Xóa danh mục thành công.</p>
	<a href="#" title="Close this message" class="close icon icon_close tooltip"></a>
</div>

<div class="message message-error" runat="server" id="message_error" visible="false">
	<h6>Lỗi</h6>
	<p>Không thể xóa danh mục.</p>
	<a href="#" title="Close this message" class="close icon icon_close"></a>
</div>

<table cellspacing="0" class="listTable" id="postList">
					<!-- Thead -->
					<thead>
						<tr>
							<th class="first"><div></div></th>
							<th><a href="#" title="Post">Mã Hãng</a></th>
							<th><a href="#" title="Author">Tên Hãng</a></th>
							<th><a href="#" title="Categories">Hiển Thị</a></th>
							<th class="last"><a href="#" title="Date">Tùy Chọn</a></th>
						</tr>
					</thead>
					<!-- /Thead -->
					<!-- Tfoot -->
					<tfoot>
						<tr>
							<td colspan="5">
								<div class="inner">
									<div class="paginate">
										<span class="prev disabled"><a href="#">&lt;&lt;</a></span>
										<span><a href="#">1</a></span>
										<span>...</span>
										<span><a href="#">4</a></span>
										<span class="current roundedBordersLite">5</span>
										<span><a href="#">6</a></span>
										<span>...</span>
										<span><a href="#">11</a></span>
										<span class="next"><a href="#">&gt;&gt;</a></span>
									</div>
								</div>
							</td>
						</tr>
					</tfoot>
					<!-- /Tfoot -->
					<!-- Tbody -->
					<tbody>
					
<asp:Repeater ID="RepeaterHangDienThoai" runat="server">
    <ItemTemplate>
       <tr>
		<td><input type="checkbox" class="checkbox"/></td>
		<td><%# Eval("mahang") %></td>
		<td><%# Eval("tenhang") %></td>
		<td><%# Convert.ToBoolean(Eval("hienthi"))==true ? "Show" : "Hide" %></td>
		<td class="last">
		    
            <asp:HiddenField ID="HiddenFieldMaHang" Value='<%# Eval("mahang") %>' runat="server" />
		    
            <asp:LinkButton ID="LinkButtonXoa" OnClick="LinkButtonXoa_Click" runat="server" OnClientClick="return confirm('Bạn có chắc hãng điện thoại này không?')">Xóa</asp:LinkButton>
            
		</td>
	</tr> 
    </ItemTemplate>
</asp:Repeater>						
						
					</tbody>
					<!-- /Tbody -->
				</table>

</asp:Content>
